{% extends 'SonataAdminBundle::standard_layout.html.twig' %}

{% block stylesheets %}
{{ parent() }}
<link href="{{ asset('bundles/objectsadmin/css/chosen.min.css') }}" type="text/css" rel="stylesheet" />
<link href="{{ asset('bundles/objectsadmin/css/jquery-ui-timepicker-addon.css') }}" type="text/css" rel="stylesheet" />
<style>
    .ui-datepicker{
        z-index: 9999 !important;
    }
    textarea {
        min-height: 50px !important;
    }
    .sonata-bc .form-horizontal .sonata-collection-row-without-label {
        margin-left: 160px;
    }
</style>
{% endblock %}

{% block javascripts %}
{{ parent() }}
<script src="{{ asset('bundles/objectsadmin/js/jquery-ui-sliderAccess.js') }}" type="text/javascript"></script>
<script src="{{ asset('bundles/objectsadmin/js/jquery-ui-timepicker-addon.js') }}" type="text/javascript"></script>
<script src="{{ asset('bundles/objectsadmin/js/chosen.jquery.min.js') }}" type="text/javascript"></script>
<script src="{{ asset('bundles/objectsadmin/js/jquery.livequery.js') }}" type="text/javascript"></script>
<script src="{{ asset('bundles/objectsadmin/js/jquery.autosize-min.js') }}" type="text/javascript"></script>
<script src="{{ asset('bundles/objectsadmin/js/ckeditor/ckeditor.js') }}" type="text/javascript"></script>
<script src="{{ asset('bundles/objectsadmin/js/backend.js') }}" type="text/javascript"></script>
{% endblock %}

{% block logo %}
<a class="brand" href="{{ path('sonata_admin_dashboard') }}">Home</a>
<div class="nav-collapse collapse">
    <ul class="nav">
        <li><a href="{{ path('sonata_admin_dashboard') }}"><i class="icon-home"></i> {% trans %}Dashboard{% endtrans %}</a></li>
        <li><a href="{{ path('admin_site_emails') }}"><i class="icon-envelope"></i> {% trans %}Site Emails{% endtrans %}</a></li>
        <li><a href="{{ path('admin_site_configurations') }}"><i class="icon-wrench"></i> {% trans %}Site Configurations{% endtrans %}</a></li>
        <li><a href="{{ path('logout') }}"><i class="icon-off"></i> {% trans %}Logout{% endtrans %}</a></li>
    </ul>
</div>
{% endblock %}

{% block footer %}
<div class="pull-right clearfix" style="margin-bottom: 10px;">
    <!--<span class="label">
        {% trans %}Developed by{% endtrans %} <a style="color: black" target="_blank" rel="noreferrer" href="http://objects.ws">Objects</a>
    </span>-->
</div>
{% endblock %}
